package com.novunda.tool.codec;

import java.io.Serializable;

/**
 * @author linfeng
 * @since 2016/11/10
 */
public class KeyPair implements Serializable {

    private static final long serialVersionUID = -5743408837758102417L;
    private final String publicKey;
    private final String privateKey;

    public KeyPair(String privateKey, String publicKey) {
        this.privateKey = privateKey;
        this.publicKey = publicKey;
    }

    public String getPublicKey() {
        return publicKey;
    }

    public String getPrivateKey() {
        return privateKey;
    }

}
